package lacus.wd_cinema.dto.movies;

import lacus.wd_cinema.entity.Movie;
import lombok.Data;

/**
 * 更新电影响应体
 * @author lacus
 * @version 0.4
 * @since 0.4
 */
@Data
public class MovieUpdateResponse {
    private long id;

    public static MovieUpdateResponse from(Movie movie) {
        MovieUpdateResponse response = new MovieUpdateResponse();
        response.setId(movie.getId());
        return response;
    }
}
